<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class CarouselImage extends Model
{
    //輪播
    protected $table = 'carousel_image';

    public $timestamps = FALSE;

    public function getImageAttribute($value)
    {
        return getDomain() . '/' . $value;
    }
}
